package com.qqtech.qquan.user.model;


import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.qqtech.core.frame.model.BaseDomain;

@SuppressWarnings("serial")
public class UserFriendApply extends BaseDomain{

	//columns START
    /** 发起邀请人ID */
	private java.lang.Integer userId;
    /** 被邀请人ID */
	private java.lang.Integer friendId;
    /** 状态UserFriendStatusEnum:1-待处理;2-已接受;3-已忽略;4-已拒绝 */
	private java.lang.Integer status;
    /** 状态改变时间 */
	private java.sql.Timestamp statusAt;
	/** 申请人留言 **/
	private java.lang.String message;
	//columns END
	public UserFriendApply(){
	}

	public UserFriendApply( java.lang.Integer id ){
		this.id = id;
	}

	public void setUserId(java.lang.Integer userId) {
		this.userId = userId;
	}

	public java.lang.Integer getUserId() {
		return this.userId;
	}
	
	public void setFriendId(java.lang.Integer friendId) {
		this.friendId = friendId;
	}

	public java.lang.Integer getFriendId() {
		return this.friendId;
	}
	
	public void setStatus(java.lang.Integer status) {
		this.status = status;
	}

	public java.lang.Integer getStatus() {
		return this.status;
	}
	
	public void setStatusAt(java.sql.Timestamp statusAt) {
		this.statusAt = statusAt;
	}

	public java.sql.Timestamp getStatusAt() {
		return this.statusAt;
	}
	

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}

	public java.lang.String getMessage() {
		return message;
	}

	public void setMessage(java.lang.String message) {
		this.message = message;
	}
}

